/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DTO;

public class CUser_group extends CId{
    public CUser_group(){}
    private String ten_group ="";
    public void setTenGroup(String ten_group){
        this.ten_group = ten_group;
    }
    public String getTenGroup(){
        return this.ten_group;
    }
    private int orderType;
    public void setOrderType(int order){
        this.orderType = order;
    }
    
    public int getOrderType(){
        return this.orderType;
    }
    
     public String toString(){
        StringBuilder sBuilder = new StringBuilder();
        sBuilder.append("{");
        sBuilder.append(String.format("\"%s\" :\" %s \"",CFields.id,this.getId() ));
        sBuilder.append(",");
        sBuilder.append(String.format("\"%s\" :\" %s \"",CFields.ten_group,this.getTenGroup()));        
        sBuilder.append("}");
        return sBuilder.toString();
    }
}
